package com.z.service;

import com.z.pojo.Cart;
import com.z.pojo.Order;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * @author 张福兴
 * date 2021/9/1
 */
public interface OrderService {
    public  Integer addOrder(Order order) throws SQLException;
    public Map<Order, List<Cart>> findOrderByOid(String oid)throws SQLException;
    public Map<Order,List<Cart>> findOrderByUid(String uid)throws SQLException;
    public Integer updateOrderByOid(String oid,Integer aid)throws SQLException;

}
